#include "core.h"

Position* createNeighbours(){
   Position *neighbours = new Position[8];
   neighbours[0].x=1;  neighbours[0].y=0;
   neighbours[1].x=1;  neighbours[1].y=-1;
   neighbours[2].x=0;  neighbours[2].y=-1;
   neighbours[3].x=-1; neighbours[3].y=-1;
   neighbours[4].x=-1; neighbours[4].y=0;
   neighbours[5].x=-1; neighbours[5].y=1;
   neighbours[6].x=0;  neighbours[6].y=1;
   neighbours[7].x=1;  neighbours[7].y=1;
   return neighbours;
}
